package com.yygo.util;

import java.util.Locale;
import java.util.ResourceBundle;

/**
 * Created by tiansha on 2015/7/26.
 */
public class MessageUtil {

    private static ResourceBundle resourceBundle = null;

    static {
        resourceBundle = ResourceBundle.getBundle("ApplicationResources", Locale.SIMPLIFIED_CHINESE);
    }

    public static String getMessage(String key) {
        return resourceBundle.getString(key);
    }
}
